home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C23 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.7 KB  |  89 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C23
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Nonlocal \
  22.     Except \
  23.     Trmnator \
  24.     FunctionTryBlock \
  25.     Cleanup \
  26.     Nudep \
  27.     Wrapped \
  28.     Autoexcp \
  29.     Basexcpt \
  30.     Catchref 
  31.  
  32. test: all 
  33.     Nonlocal  
  34.     Except  
  35.     Trmnator  
  36.     FunctionTryBlock  
  37.     Cleanup  
  38.     Nudep  
  39.     Wrapped  
  40.     Autoexcp  
  41.     Basexcpt  
  42.     Catchref  
  43.  
  44. bugs: 
  45.     @echo No compiler bugs in this directory!
  46.  
  47. Nonlocal: Nonlocal.o 
  48.     $(CPP) $(OFLAG)Nonlocal Nonlocal.o 
  49.  
  50. Except: Except.o 
  51.     $(CPP) $(OFLAG)Except Except.o 
  52.  
  53. Trmnator: Trmnator.o 
  54.     $(CPP) $(OFLAG)Trmnator Trmnator.o 
  55.  
  56. FunctionTryBlock: FunctionTryBlock.o 
  57.     $(CPP) $(OFLAG)FunctionTryBlock FunctionTryBlock.o 
  58.  
  59. Cleanup: Cleanup.o 
  60.     $(CPP) $(OFLAG)Cleanup Cleanup.o 
  61.  
  62. Nudep: Nudep.o 
  63.     $(CPP) $(OFLAG)Nudep Nudep.o 
  64.  
  65. Wrapped: Wrapped.o 
  66.     $(CPP) $(OFLAG)Wrapped Wrapped.o 
  67.  
  68. Autoexcp: Autoexcp.o 
  69.     $(CPP) $(OFLAG)Autoexcp Autoexcp.o 
  70.  
  71. Basexcpt: Basexcpt.o 
  72.     $(CPP) $(OFLAG)Basexcpt Basexcpt.o 
  73.  
  74. Catchref: Catchref.o 
  75.     $(CPP) $(OFLAG)Catchref Catchref.o 
  76.  
  77.  
  78. Nonlocal.o: Nonlocal.cpp 
  79. Except.o: Except.cpp 
  80. Trmnator.o: Trmnator.cpp 
  81. FunctionTryBlock.o: FunctionTryBlock.cpp 
  82. Cleanup.o: Cleanup.cpp 
  83. Nudep.o: Nudep.cpp 
  84. Wrapped.o: Wrapped.cpp 
  85. Autoexcp.o: Autoexcp.cpp 
  86. Basexcpt.o: Basexcpt.cpp 
  87. Catchref.o: Catchref.cpp 
  88.  
  89.